package cate.common.table.activity.dungeonup;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass(value = "传送门奖励池")
public class DUDoorRewardRow extends ERow {
    @NoteField(value = "物品")
    public String itemStr;
    @NoteField(value = "组别")
    public int group;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("ID");
        this.itemStr = xrw.getString("物品", "");
        this.group = xrw.getInteger("组别", 1);
    }
}
